﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using EazyCMS.DBUtility;

namespace EazyCMS.DAL
{
  public  class Get_ScoreDaL
    {
      public static string Get_coreDaL(string sfz, string zkz)
      {
          string sql = "select id from  dbo.dt_student_info where user_card='" + sfz + "' and user_ticket='" + zkz + "'";
          //using()
          DataTable dt = DbHelperSQL.ExecuteDataSet(sql);
         //dt.Rows[0]["id"].ToString();
          if (dt.Rows.Count > 0)
          {
              return dt.Rows[0]["id"].ToString();
          }
          else
          {
              return "cuowu";
          
          }
      
      }
    }
}
